<?php echo $this->element('message'); ?>   
<div class="row-fluid">
    <div class="span2">
        <div>
            <p class="nav-header">Actions</p>
            <ul class="nav nav-tabs nav-stacked">                
                <li><a href="<?php echo $this->Html->url('index/'); ?>">List Stocks</a></li>
            </ul>
        </div>
    </div>
    <div class="span10">

        <?php
        echo $this->Form->create('Stock', array('type' => 'file', 'class' => 'well'));
        ?>


        <fieldset>
            <legend><?php echo __('Add Stock Price'); ?></legend>
            <div class="control-group required">
                <label for="Date">Date</label>
                <input name="date" help="" class="datepicker" type="text" value="" id="Date" required="required">
            </div>

            <div class="control-group required">
                <?php
                echo $this->Form->input('stock', array(
                    'type' => 'file',
                    'label' => 'Stock Prices file'
                ));
                ?>

            </div>
        </fieldset>
        <?php echo $this->Form->end(array('class' => 'btn btn-primary')); ?>
    </div>
</div>